
import request from '@/utils/request'

/***************************************************** activity ****************************************************/

/**
 * 获取活动详情
 * @param data 
 * @returns 
 */
export const getActivityDetailApi: IGetActivityDetailApi = function(data) {
    return request.get(`htscrm/activity/info`, data) as ReturnType<IGetActivityDetailApi>
}

export function getPlayTimeApi(data: any) {
    return request.get(`htscrm/activity/get_play_time`, data)
}
export function updatePlaylogApi(data: any) {
    return request.post(`htscrm/activity/update_playlog`, data)
}
export function answerApi(data: any) {
    return request.post(`htscrm/activity/dati`, data)
}
export function getUvApi(data: any) {
    return request.post(`htscrm/activity/getUv`, data)
}